Skip to content

Update: Improved hover styles to Watch Page #4677

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tusharpardhe18
Copy link

Description

Enhanced the Watch section UI and styling:

  • Updated the call-to-action message with a direct link to the latest React Native talks.

  • Improved responsiveness by modifying the max-width and height of .video and .videoContainer.

  • Added hover and light theme-specific styles to improve visual feedback and accessibility.

These changes improve user experience and maintain visual consistency across themes.

How to Test

  1. Hover over any videos in watch page on the site in both light and dark modes.
  2. Verify that the shadow and scaling animations are smooth and consistent.

@facebook-github-bot
Copy link

Hi @tusharpardhe18!

Thank you for your pull request and welcome to our community.

Action Required

In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at [email protected]. Thanks!

Copy link

netlify bot commented Jul 14, 2025

Deploy Preview for react-native ready!

Name Link
🔨 Latest commit 92a589f
🔍 Latest deploy log https://app.netlify.com/projects/react-native/deploys/6874e1d2a01803000838e9c3
😎 Deploy Preview https://deploy-preview-4677--react-native.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@facebook-github-bot
Copy link

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks!

Copy link
Collaborator

@Simek Simek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the changes, this looks good, just small suggestions.

Would be also nice to switch to column layout a bit earlier (matching breakpoint which is responsible for hiding top bar content - max-width: 996px).

margin: 2rem auto;
}

.videoContainer {
border: 1px solid var(--home-border);
/* border: 1px solid var(--home-border); */
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's retain the border for the container.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, no problem. I'll remove it for a cleaner look but totally okay keeping the border if you think it's important for layout clarity.

border-radius: 12px;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.03);
padding: 16px;
display: flex;
flex-direction: column;
gap: 1rem;
max-width: 400px;
max-width: 500px;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideally, we should also set proper aspect-ratio to ensure that there are no black bars when manipulating the viewport.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense. I’ll experiment with a couple of aspect-ratio settings and test how it behaves on various viewports will push an update soon.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants